<?php

/**
 * Rule form view.
 *
 * @var \yii\web\View           $this  View
 * @var \yii\widgets\ActiveForm $form  Form
 * @var \yii\base\Model         $model Model
 * @var \common\widgets\Box     $box   Box widget instance
 */

use common\modules\user\Module;
use yii\helpers\Html;
use yii\widgets\ActiveForm;

?>
<?php $form = ActiveForm::begin(); ?>
<div class="row">
    <div class="col-sm-12">
        <?= $form->field($model, 'namespace') ?>
    </div>
</div>
<?= Html::submitButton(Module::t('user', 'BACKEND_RULES_CREATE_SUBMIT'), [
    'class' => 'btn btn-primary btn-large',
]) ?>
<?php ActiveForm::end(); ?>
